home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / archiver / compress.zoo / Makefile.gcc < prev    next >
Makefile  |  1989-06-30  |  805b  |  30 lines

  1. #
  2. # MAKE FILE FOR GNU C (TOS)
  3. # add what optimizion options your system supports
  4. # on some systems there may be no setvbuf() or the code may generate
  5. # errors if the large buffer is used for the stream, if so :
  6. # add -DNO_SETVBUF (this is done in compress.h under #ifdef UNIX  -Dal)
  7. # and if your system doesn't support either setvbuf or setbuf
  8. # add -DNO_SETBUF
  9. # add -DALLOC if your system uses alloc() instead of malloc()
  10. # add -DNOSIGNAL for faster processing on a unix pc
  11.  
  12. CFLAGS=-O -DNDEBUG -D__GNUC_TOS__ -mshort -fomit-frame-pointer \
  13.        -fcombine-regs -fstrength-reduce
  14. CC = cgcc
  15.  
  16. OFLAGS= -mshort -s
  17. LIB=
  18. PROG=compress.ttp
  19. OBJ=compress.o compusi.o compapi.o
  20. BIN=
  21.  
  22. $(PROG): $(OBJ)
  23.     $(CC) -o $(PROG) $(OFLAGS) $(OBJ) $(LIB)
  24.  
  25. compapi.o: compress.h
  26.  
  27. compress.o: compress.h
  28.  
  29. compusi.o: compress.h
  30.